/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vn.edu.vttu.ui;

/**
 *
 * @author nhphuoc
 */
public class PanelMenuStatistics extends javax.swing.JPanel {

    /**
     * Creates new form PanelMenuStatistics
     */
    public PanelMenuStatistics() {
        initComponents();
        pnThongKeDoanhThu.add(new PanelStatiticsRevenue());
        pnThongKeDoanhThu.updateUI();
        pnThongKeDoanhThu.repaint();
        
        pnThongKeDichVu.add(new PanelStatiticsService());
        pnThongKeDoanhThu.updateUI();
        pnThongKeDoanhThu.repaint();
        
        pnThongKeChi.add(new PanelStatiticsPaymentRawmaterialInvoice());
        pnThongKeChi.updateUI();
        pnThongKeChi.repaint();
    }    

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTabbedPane1 = new javax.swing.JTabbedPane();
        pnThongKeDoanhThu = new javax.swing.JPanel();
        pnThongKeDichVu = new javax.swing.JPanel();
        pnThongKeChi = new javax.swing.JPanel();

        setLayout(new java.awt.GridLayout(1, 0));

        jTabbedPane1.setForeground(new java.awt.Color(0, 51, 255));
        jTabbedPane1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N

        pnThongKeDoanhThu.setLayout(new java.awt.GridLayout(1, 0));
        jTabbedPane1.addTab("Thống Kê Doanh Thu", pnThongKeDoanhThu);

        pnThongKeDichVu.setLayout(new java.awt.GridLayout(1, 0));
        jTabbedPane1.addTab("Thống Kê Dịch Vụ", pnThongKeDichVu);

        pnThongKeChi.setLayout(new java.awt.GridLayout(1, 0));
        jTabbedPane1.addTab("Thống Kê Chi", pnThongKeChi);

        add(jTabbedPane1);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JPanel pnThongKeChi;
    private javax.swing.JPanel pnThongKeDichVu;
    private javax.swing.JPanel pnThongKeDoanhThu;
    // End of variables declaration//GEN-END:variables
}
